Skip to content

Conversation

@edwin-ma26
Copy link

@edwin-ma26 edwin-ma26 commented Dec 23, 2024

closes #149 and #104

PR to add two demos using fastplotlib for visualization

Demo 1:

  • Updates the minimal demo to alternate sine and cosine wave generation based on frame number
  • Optionally provides an ipynb and alternate sample processor for visualization using fastplotlib (instructions for use found in the README)
improv-fpl.mp4

Demo 2:

  • Adds a demo for real-time generation of lorenz attractor
    • generates 25 points every frame (just to see the visualization change faster)
improv-lorenz.mp4

Copy link

@clewis7 clewis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you get the sine/cosine example working, I will take another look at the lorenz portion of the demo.

Copy link

@clewis7 clewis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one important thing to note is that the goal of updating the demo is to maintain exactly what the previous demo already has in terms of structure and content but simply change the data being generated so that a user can optionally use fastplotlib for visualization if they want to.

Copy link

@clewis7 clewis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still had some changes for the sine/cosine example. I will wait to review the lorenz stuff until this is fixed.

Also, when you are making changes if you could resolve my comments or reply to questions I have about what you wrote as you go through them on the PR that is super helpful for me when reviewing.

Copy link

@clewis7 clewis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edwin-ma26 It looks like you went through and just resolved the conversations from before without making the changes.

Resolved. You just forgot to push.

Copy link

@clewis7 clewis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some more changes, but the sine/cosine example is almost there :D
Only thing of note is that I had some requested changes in the fastplotlib.ipynb from a comment before that maybe you forgot to push.

We also need to talk about the structure of where to store the demos in improv. Best to discuss in-person (perhaps after lab meeting Monday).

@clewis7 clewis7 changed the base branch from main to dev January 30, 2025 20:58
@clewis7
Copy link

clewis7 commented Jan 30, 2025

Also, might be helpful in the README.md when you discuss the lorenz example to link people to lorenz attractor wiki or give a brief description (users might not be familiar).

@clewis7
Copy link

clewis7 commented Feb 14, 2025

@jmxpearson should be good to go!!

Things got messy making sure that everything aligned with dev.

Most relevant files to look at are things in the /demos/minimal and /demos/fastplotlib/ directories.

@jmxpearson
Copy link
Contributor

Thanks. I should be able to take a look early next week.

PR says you still have requested changes @clewis7?

@clewis7
Copy link

clewis7 commented Feb 14, 2025

PR says you still have requested changes @clewis7?

I cleaned up the code, those are old and outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants